package com.softlab.retailwholesalesystem.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单实体类
 */
@Data
@TableName(value = "t_order")
@AllArgsConstructor
@NoArgsConstructor
public class OrderEntity implements Serializable {


    @TableId(type= IdType.AUTO)
    private Long orderId;
    private String clientName;
    private String orderType;
    private Double totalPrice;
    private Double orderProfit;
    private String status;
    private Integer inOut;
    private String username;

    @TableField(fill= FieldFill.INSERT)
    private Date createTime;
    @TableField(fill= FieldFill.INSERT_UPDATE)
    private Date modifiedTime;
    private Integer isDelete;
}
